﻿using CoreWebApi.Model;
using CoreWebApiNuGet.Controller;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace CoreWebApi.V2
{
    /// <summary>
    /// 
    /// </summary>
    public class BToAController : ApiVersionController
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [HttpGet("get-model")]
        public async Task<TestModel> GetModel()
        {
            return new TestModel()
            {
                Id = Guid.NewGuid(),
                Name = "Test",
            };
        }
    }
}
